#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main() {
	char s[] = "ABCD", * p;
	for (p= s+ 1;p< s+ 4;p++)
		printf("%s\n", p);
}